#pragma once
#include <stdbool.h>

struct ChannelMap
{
    int size;//记录数组的元素个数
    struct Channel** list;
};

//初始化
struct ChannelMap* channelMapInit(int size);
//清空map
void ChannelMapClaer(struct ChannelMap* map);
//扩容
bool makeMapRoom(struct ChannelMap* map, int newSize, int unitSize);